package com.exam.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("题目选项实体类")
public class QuestionOption {
    @ApiModelProperty("选项id,主键")
    private  int id;
    @ApiModelProperty("选项内容")
    private  String context;
    @ApiModelProperty("是否是正确答案，单选和多选则代表是正确答案，简答和填空则无需判断此状态都是正确答案，判断题则y是对 n是错")
    private  String rightAnswer;
    @ApiModelProperty("题目id，外键")
    private  int quesId;
    @ApiModelProperty("创建人")
    private  int creator;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private  Date updateTime;
    @ApiModelProperty("是否被删除")
    private  String isdel;
}
